/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.generate.service.GenerateService
   Module Description   :

   Date Created      : 2009/12/29
   Original Author   : feeling.wang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.generate.remote;

import java.io.IOException;
import java.util.Map;

import javax.jws.WebMethod;
import javax.jws.WebService;

import com.yaodian100.core.common.exception.CoreException;

/**
 * @author feeling.wang
 * 
 */
@WebService(serviceName = "remoteGenerateService")
public interface RemoteGenerateService {

	/**
	 * 全部分类頁V2
	 * 
	 * @param date
	 * @return
	 * @throws CoreException
	 */
	public boolean generateCategoryIndexV2(String date) throws CoreException;

	/**
	 * 馆首页-黄金大看版
	 * 
	 * @param date
	 * @return
	 * @throws CoreException
	 * @throws IOException
	 */
	public boolean generateCateMainGoldAdv(String date) throws CoreException, IOException;

	/**
	 * 館長推薦
	 * 
	 * @param categoryId
	 * @return
	 * @throws CoreException
	 * @throws IOException
	 */
	public boolean generateCuratorRecommV2(String categoryId) throws CoreException, IOException;

	/**
	 * 館長推薦 V3
	 * 
	 * @param categoryId
	 * @return
	 * @throws CoreException
	 * @throws IOException
	 */
	public boolean generateCuratorRecommV3() throws CoreException, IOException;

	/**
	 * 館首頁 - 熱搜精選
	 * 
	 * @param categoryId
	 * @return
	 * @throws CoreException
	 * @throws IOException
	 */
	public boolean generateHotSelectV2(String categoryId) throws CoreException, IOException;

	/**
	 * 产生首页大看版广告_V2
	 * 
	 * @throws CoreException
	 */
	@WebMethod
	public boolean generateIdxBlockAdv_V2(String date) throws CoreException;

	/**
	 * 首页黄金四格 V2
	 * 
	 * @param date
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	@WebMethod
	public boolean generateIdxGoldFourV2(String date) throws CoreException, Exception;

	/**
	 * 首页热销商品V2
	 * 
	 * @param date
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	@WebMethod
	public boolean generateIdxHotSaleV2(String date) throws CoreException, Exception;

	/**
	 * 最新快报
	 * 
	 * @param date
	 * @return
	 * @throws CoreException
	 */
	@WebMethod
	public boolean generateIndexNews(String date) throws CoreException, Exception;

	/**
	 * 產生頁面導引頁
	 * 
	 * @throws CoreException
	 */
	@WebMethod
	public boolean generateNaviBar(String date) throws CoreException;

	/**
	 * 首页热销排行/最热评价
	 * 
	 * @param categoryId
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	@WebMethod
	public boolean generateRightDownAdvV2(String categoryId) throws CoreException, Exception;

	@WebMethod
	public boolean generateSearchbar_V2(String categoryId) throws CoreException;

	public boolean generateSeoService() throws CoreException, IOException;

	/**
	 * 產生頁面左邊選單
	 * 
	 * @throws CoreException
	 */
	@WebMethod
	public boolean generateSideBarMenu(String date) throws CoreException, IOException;

	/**
	 * 館首頁 - 活動特輯
	 * 
	 * @param categoryId
	 * @return
	 * @throws CoreException
	 * @throws IOException
	 */
	public boolean generateSpecialAct(String categoryId) throws CoreException, IOException;

	/**
	 * 百度開放平台用xml
	 * 
	 * @throws CoreException
	 */
	@WebMethod
	public boolean generateXMLforBaidu(String date) throws CoreException;

	/**
	 * 达芙妮专区页面
	 * 
	 * @param date
	 * @return
	 */
	public boolean generateDaphneCategoryIndex(String date);

	/**
	 * 分類排行榜
	 */
	public boolean generateCategoryTopRank(String categoryIdString) throws CoreException, IOException;

	/**
	 * 品牌专区
	 * 
	 * @param date
	 * @return
	 */
	public boolean generateBrandIndex(String date) throws CoreException, IOException;

	/**
	 * 首頁通欄廣告
	 */
	public boolean generateIdxTopSpanAdv(String s) throws CoreException, Exception;

	/**
	 * 首頁腰線廣告
	 */
	public boolean generateIdxWaistline(String s) throws CoreException, Exception;

	/**
	 * 首頁右側小廣告1
	 */
	public boolean generateIdxRightSmall1(String s) throws CoreException, Exception;

	/**
	 * 首頁右側小廣告2
	 */
	public boolean generateIdxRightSmall2(String s) throws CoreException, Exception;

	/**
	 * 首頁雙拼廣告左
	 */
	public boolean generateIdxTwinLeft(String s) throws CoreException, Exception;

	/**
	 * 首頁雙拼廣告右
	 */
	public boolean generateIdxTwinRight(String s) throws CoreException, Exception;

	/**
	 * 首頁本週推薦
	 */
	public boolean generateIdxWeeklyRecommendAdv(String s) throws Exception;

	/**
	 * 類別促銷V3
	 * 
	 * @param date
	 * @return
	 * @throws CoreException
	 */
	public boolean generateIdxSaleLayoutAdv_V3(String date) throws CoreException;

	/**
	 * 首頁热销横幅
	 */
	public boolean generateIdxHotSaleBanner(String s) throws CoreException, Exception;

	/**
	 * 首頁腰线广告V5
	 */
	public boolean generateIdxWaistline_V5(String s) throws CoreException, Exception;

	/**
	 * 首页银行分期广告
	 */
	public boolean generateIdxBankBanner(String s) throws CoreException, Exception;

	/**
	 * 四头标
	 */
	public boolean generateTop4Tag(String advType) throws CoreException, Exception;

	/**
	 * 热销商品
	 * 
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	public boolean generaterIdxHotSaleV5(String date) throws CoreException, Exception;

	/**
	 * 活动特辑
	 * 
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	public boolean generaterIdxSpecialAct(String date) throws CoreException, Exception;

	/**
	 * 主题促销
	 * 
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	public boolean generaterIdxSaleV5(String date) throws CoreException, Exception;

	/**
	 * 品牌推荐
	 * 
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	public boolean generaterIdxBrandRecommend(String date) throws CoreException, Exception;

	/**
	 * 品牌折扣馆 - 厂商Banner
	 * 
	 * @return
	 * @throws CoreException
	 * @throws Exception
	 */
	public boolean generateOutletsBannerAdv() throws CoreException, Exception;

	/**
	 * 生成資料嵌入到活動頁面
	 */
	public boolean generateEventHtml(Map map, String fileName, String templateName) throws CoreException;

	public boolean generateEventHtmlFormeunKey(String menuKey, String fileName, String templateName) throws CoreException;
}
